<!--
显示帖子内容和回复的页面
-->
<!DOCTYPE html>
<html>
	{% include file="header.html" %}
	<body>
		<div id="center">
			<div class="user_scan_panel">
				<!--用户头像等-->
				<div>
					{%$topic->getTopicUserName()%}
				</div>
				<div>
					<img src="{%$topic_user->getUserPic()%}" width="100%"/>
				</div>				
			</div>
			<div class="topic_panel">
				<!--帖子时间-->
				<div>
					{%$topic->getTopicDatetime()%}
				</div>
				<!--帖子标题-->
				<div>
					{%$topic->getTopicTitle()%}
				</div>
				<hr/>
				<!--帖子内容-->
				<div>
					{%$topic->getTopicContent%}
				</div>
				
			</div>
			<div>
				{%section name=index loop=$replies%}
					<div class="user_scan_panel">
						<!--用户头像等-->
						<div>
							{%$replies[index]->getTopicReplyUserName()%}
						</div>
						<div>
							<img src="{%$replies[index]->getTopicReplyUserPic()%}" width="100%"/>
						</div>				
					</div>
					<div class="reply_panel">
						<!--回复时间-->
						<div>
							{%$replies[index]->getTopicReplyDatetime()%}
						</div>
						<hr/>
						<!--回复内容-->
						<div>
							{%$replies[index]->getTopicReplyContent()%}
						</div>
					</div>
				{%/section%}
			</div>
			<div class="reply_panel">
				<form action="login.php" method="post">
					<div>发表回复</div>
					<div>
						{%$fckeditor%}
					</div>
					<div><input type="submit" value="发表"/></div>
				</form>
			</div>
			<hr/><br/>
		</div>
	</body>
</html>

